From: Georges Basile Stavracas Neto Date: Tue, 26 Jan 2021 00:09:53 +0000 (-0300) Subject: workspaceThumbnail: Reduce maximum scale to 5% X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~542 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0d4bce9fa76ff0ce147d574bcbb078258892ad9d;p=gnome-shell.git workspaceThumbnail: Reduce maximum scale to 5% As per design direction, reduce the maximum workspaces thumbnails to 5% of the primary monitor size. Part-of: --- diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index e238f2a1d..ba9739dd9 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -8,8 +8,8 @@ const DND = imports.ui.dnd; const Main = imports.ui.main; const Workspace = imports.ui.workspace; -// The maximum size of a thumbnail is 1/10 the width and height of the screen -var MAX_THUMBNAIL_SCALE = 1 / 10.; +// The maximum size of a thumbnail is 5% the width and height of the screen +var MAX_THUMBNAIL_SCALE = 0.05; var RESCALE_ANIMATION_TIME = 200; var SLIDE_ANIMATION_TIME = 200;